<template>
	<view class="home-banner">
		<swiper class="swiper" :indicator-dots="true" indicator-color="#999" indicator-active-color="rgb(216, 216, 216)">
			<swiper-item class="swiper-item" v-for="item in dataList" :key="item.id">
				<image :src="item.pic" mode=""></image>
			</swiper-item>
		</swiper>
	</view>
</template>

<script>
	export default {
		props:["dataList"],
		data() {
			return {
				
			};
		},
	}
</script>

<style lang="scss" scoped>
	.home-banner{
		width: 100%;
		.swiper{
			height: 362rpx;
			.swiper-item{
				height: 100%;
				border-radius: 30rpx;
				overflow: hidden;
				image{
					display: block;
					width: 100%;
				}
			}
			
		}
	}
</style>
